
	1.  RSS-   :

		  <.ru/admin.php?mod=photo&a=rss>

			 > :
			
				: 
				: 
				 :  ( )
				: 

				  ,   .

				: 10
				 : --
				:   
				: photo_rss.tpl

			 >   RSS 

			 >  ,     (  , http://photo.ru/photo/rss-1)
	
			
	2.  "RSS   "
			

		<./admin.php?mod=rssinform>

		  > URL  RSS : http://photo.ru/photo/rss-1 ( ,    
		 ) > 

		=>      ,  {inform_photo}

	3.    <photo/photo_rss.tpl>  <informer.tpl>


		 <informer.tpl>:

----------------------------------------------------------------
[link]<img src="{news}" style="margin: 10px">[/link]
----------------------------------------------------------------



		 <photo/photo_rss.tpl>,   :

----------------------------------------------------------------
<item>
<title>%TITLE%</title>
<guid isPermaLink="true">%LINK%</guid>
<link>%LINK%</link>
<description>%PREVIEW_2%</description>
</item>
----------------------------------------------------------------

		 <photo/photo_rss.tpl>,    :

----------------------------------------------------------------
<item>
<title>%TITLE%</title>
<guid isPermaLink="true"><![CDATA[%LINK%]]></guid>
<link><![CDATA[%LINK%]]></link>
<description><![CDATA[%PREVIEW_2%]]></description>
</item>
----------------------------------------------------------------

		+      ,      .

		  <engine/modules/rssinform.php>

		:

				$tpl->set( '[link]', "<a href=\"" . htmlspecialchars ( $content['link'] ) . "\" target=\"_blank\">" );

		 :

				$tpl->set( '[link]', "<a href=\"" . /*htmlspecialchars ( */$content['link']/*) */. "\" target=\"_blank\">" );

		 ,      .

	4.     {inform_photo}      main.tpl.

	5.   .

	  .  html   {news} (<description>).

	  engine/modules/rssinform.php :


----------------------------------------------------------------
$xml->content[$i]['description'] = strip_tags( $xml->content[$i]['description'], "<br>" );
----------------------------------------------------------------

	 :

----------------------------------------------------------------
if( !substr_count($value['url'], $config['http_home_url'] ) )
{

$xml->content[$i]['description'] = strip_tags( $xml->content[$i]['description'], "<br>" );

}
----------------------------------------------------------------

	 . => HTML       .
